package com.zzxy.dao;

import com.zzxy.entity.User;

public class UserDaoImpl {
    SqlSession sqlSession;

    private class SqlSession {
        public User selectOne(String findUserByid, int id) {
            return null;
        }
    }


    public UserDaoImpl(SqlSession sqlSession){
        this.sqlSession=sqlSession;
    }

    public User findUserByDao(int id){
        User user = sqlSession.selectOne("findUserByid",id);
        return user;
    }
}
